Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Dockerfile fixes #3446

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Conversation

dmnks
Copy link
Contributor

@dmnks dmnks commented Nov 14, 2024

  • Drop support for F39
  • Fix "unpack error" in subsequent dnf transactions

@dmnks dmnks requested a review from a team as a code owner November 14, 2024 15:39
@dmnks dmnks requested review from pmatilai and removed request for a team November 14, 2024 15:39
@dmnks dmnks force-pushed the dockerfile-fixes branch 6 times, most recently from 119cfd7 to bbd674c Compare November 14, 2024 16:50
Assuming all our devs are already at least on F40 on their workstations,
just finally drop the gdb-headless workaround.  The original bug
(#2310156) was fixed in both F40 and 41.

This also simplifies the special-casing for "rpm -e" a bit.
This plugin of ours, when installed in a container, currently causes
transaction errors (simply because IMA isn't supported in containers
currently).

This isn't immediately visible unless another dnf transaction would be
run, either in the Dockerfile itself, or in a custom podman container
made from the resulting "rpm" image tag.  Note that the tests themselves
aren't affected by this since they currently don't install any
IMA-signed packages.

In any case, the plugin is unnecessary in the test image, make sure to
remove it.

The reason it's installed is through the ima-evm-utils-devel package
(which pulls in ima-evm-utils-libs which pulls in the plugin).  This is
a new thing on F41 so only handle it there.
@pmatilai
Copy link
Member

Oh, so it was our good friend IMA causing that trouble...

@pmatilai pmatilai merged commit b0c361e into rpm-software-management:master Nov 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants